package lab02.test36;

/**
 * Created by 阿阿阿阿豪丶 on 2017/11/22.
 */
public abstract class Student {

    String name;
    String type;

    double[] scores=new double[3];

    String grade;
    //计算平均成绩
    double average(){
        return (scores[0]+scores[1]+scores[2])/3;
    }
    //计算等级
    abstract String calGrade();



}
